package io.xxx.xbutler.sdk.request;

import com.alibaba.fastjson2.annotation.JSONField;
import io.xxx.xbutler.sdk.TanJingRequest;
import io.xxx.xbutler.sdk.domain.PrivateChatMessage;
import io.xxx.xbutler.sdk.response.SendChatMessagesResponse;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public abstract class SendChatMessagesRequest implements TanJingRequest<SendChatMessagesResponse> {

    @JSONField(name = "vcRobotSerialNo")
    protected String robotSerialNo;

    @JSONField(name = "vcRelaSerialNo")
    protected String relaSerialNo;

    @JSONField(name = "Data")
    protected List<? extends PrivateChatMessage> data;

    @Override
    public Class<SendChatMessagesResponse> responseType() {
        return SendChatMessagesResponse.class;
    }
}

